public class Director extends Person{
    private double allowance;
    public Director(){};
    public Director(String id,String name,double salary,double allowance){
        super(id,name,salary);
        this.allowance = allowance;
    }
    public void setAllowance(double allowance){
        this.allowance = allowance;
    }
    public double getAllowance(){
        return allowance;
    }
}
